//创建仓库
import { legacy_createStore, combineReducers, applyMiddleware } from 'redux'

import logger from 'redux-logger'
import thunk from 'redux-thunk'
import userList from './modules/userList'
//合并并抛出
export default legacy_createStore(combineReducers({ userList }), applyMiddleware(thunk, logger))
